{include file="header.tpl" title="HRSALARY"}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td nowrap="nowrap">{$lbl_CTYPE}</td>
    <td colspan="3" style="color:#FF0000;"><input name="CTYPE" id="CTYPE" type="text" style="background:{$color}" value="{$CTYPE}" size="20" maxlength="20" {if $disabled eq 'true'} readonly="readOnly" {/if} onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');"/>
     * <input type="submit" name="find" value="    " id="replacement_find" />
	 <input type="hidden" value="{$CTYPE}" name="tmpCTYPE"/>
	 </td>
  </tr>  
  <tr>
    <td>{$lbl_VNDESC}</td>
    <td colspan="3"><input name="VNDESC" id="VNDESC" type="text" value="{$VNDESC}" size="50" maxlength="50"/></td>
    </tr>
 <tr>
    <td>{$lbl_ENDESC}</td>
    <td colspan="3"><input name="ENDESC" id="ENDESC" type="text" value="{$ENDESC}" size="50" maxlength="50"/></td>
    </tr>
  <tr>
    <td>{$lbl_ENABLED}</td>
    <td><select name="ENABLED" size="1">
      
 		{foreach from=$cbo_enabled key=k item=v}
      	
      <option value="{$k}" {if $ENABLED eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
      
 		{/foreach}
		
    </select>    </td>
    <td>{$lbl_BNKYINR}</td>
    <td>
      <input name="BNKYINR" type="text" id="BNKYINR" value="{$BNKYINR}" size="15" maxlength="5" style="text-align:right" onBlur="checkCurrency20(this,this.value); formatNumber2(this,this.value,2,2);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" />
      %
    </td>
  </tr>
  <tr>
    <td>{$lbl_BNKXINR}</td>
    <td width="35%">
      <input name="BNKXINR" type="text" id="BNKXINR" value="{$BNKXINR}" size="15" maxlength="5" style="text-align:right;" onBlur="checkCurrency20(this,this.value); formatNumber2(this,this.value,2,2);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" />
      %
    </td>
    <td width="19%">{$lbl_EMPYINR}</td>
    <td width="26%">
      <input name="EMPYINR" type="text" id="EMPYINR" value="{$EMPYINR}" size="15" maxlength="5" style="text-align:right;" onBlur="checkCurrency20(this,this.value); formatNumber2(this,this.value,2,2);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" />
      %
    </td>
  </tr>
  <tr>
    <td>{$lbl_EMPXINR}</td>
    <td>
      <input name="EMPXINR" type="text" id="EMPXINR" value="{$EMPXINR}" size="15" maxlength="5" style="text-align:right" onBlur="checkCurrency20(this,this.value); formatNumber2(this,this.value,2,2);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" />
      %
    </td>
    <td>{$lbl_BNKZINR}</td>
    <td>
      <input name="BNKZINR" type="text" id="BNKZINR" value="{$BNKZINR}" size="15" maxlength="5" style="text-align:right;" onBlur="checkCurrency20(this,this.value); formatNumber2(this,this.value,2,2);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" />
      %
    </td>
  </tr>
  <tr>
    <td>{$lbl_XINMAX}</td>
    <td>
      <input name="XINMAX" type="text" id="XINMAX" value="{$XINMAX}" size="15" maxlength="20" style="text-align:right;" onBlur="checkCurrency20(this,this.value); formatNumber2(this,this.value,20,0);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" />
    </td>
    <td>{$lbl_EMPZINR}</td>
    <td>
      <input name="EMPZINR" type="text" id="EMPZINR" value="{$EMPZINR}" size="15" maxlength="5" style="text-align:right;" onBlur="checkCurrency20(this,this.value); formatNumber2(this,this.value,2,2);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" />
      %
    </td>
  </tr> 
<tr>    
    <td colspan="4">&nbsp;	</td>
</tr>
<tr>
<td width="20%">
<input value="{$lich_su_thay_doi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_hrcontype.php?CTYPE={$CTYPE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
<td colspan="3" align="right" nowrap="nowrap">
   <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'CTYPE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
<tr>
<td >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
